import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../controllers/ecg_controller.dart';

Widget buildTabViewAlert() {
  EcgController controller = Get.find();
  return Center(
      child: Center(
    child: Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        Obx(() => Text('${controller.count}')),
        ElevatedButton(
          onPressed: () {
            controller.count.value++;
          },
          child: const SizedBox(
            width: 200,
            height: 40,
            child: Center(
              child: Text('Increase'),
            ),
          ),
        )
      ],
    ),
  ));
}
